PDFDocument.LoadTrueTypeFont Method (console safe)
Loads a TrueType font TrueType font (.ttf) file.

LoadTrueTypeFont(
f
as FolderItem)
as Font
Parameters
- f
- Path to the Font file.
Returns
- Font
- The font or nil if there was error.
Remarks
This must be TrueType font with the extension .ttf. Note: this must be unicode capable TrueType font.
See Also
PDFDocument Class